import requests
#
# url='http://fy.iciba.com/ajax.php?a=fy'
# headers={
#     'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36'
# }
# data2={
#     'f':'auto',
#     't':'auto',
#     'w':'好好学习'
# }
# r=requests.post(url,headers=headers,data=data2)
# print(r.content)
# url='http://fanyi.youdao.com/translate?smartresult=dict&smartresult=rule'


class Student:
    def __init__(self,id,name):
        self.id=id
        self.name=name

    def __str__(self):
        return f'学号:{self.id},姓名:{self.name}'

    def study(self):
        print(f'{self.name}好好学习')


zs=Student(1,'展示')
print(zs)
zs.study()
print('*'*20)